@extends('layouts.admin')
@section('content')
	<style>
		.btn-group{
			margin-left:20px;
			line-height:40px;
		}
		.radio{
			margin-left:200px;
			line-height:40px;
		}
	</style>
	<div id="content-header">
		<h1>Form wizard</h1>
		<div class="btn-group">
			<a class="btn btn-large tip-bottom" title="Manage Files"><i class="icon-file"></i></a>
			<a class="btn btn-large tip-bottom" title="Manage Users"><i class="icon-user"></i></a>
			<a class="btn btn-large tip-bottom" title="Manage Comments"><i class="icon-comment"></i><span class="label label-important">5</span></a>
			<a class="btn btn-large tip-bottom" title="Manage Orders"><i class="icon-shopping-cart"></i></a>
		</div>
	</div>
	<div id="breadcrumb">
		<a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> Home</a>
		<a href="#">Form elements</a>
		<a href="#" class="current">Form wizard</a>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-title">
								<span class="icon">
									<i class="icon-pencil"></i>
								</span>
						<h5>添加分类</h5>
					</div>
					<div class="widget-content nopadding">
						@if (count($errors) > 0)
							@foreach ($errors->all() as $error)
								<div style="background: pink;color:darkred;text-align:center;">
									{{ $error }}
								</div>
							@endforeach
						@endif
						<form action="{{url('admin/DarenAddData')}}" id="form-wizard" class="form-horizontal" method="post" enctype="multipart/form-data"/>
						{{csrf_field()}}
						<div id="form-wizard-1" class="step">
							<div class="control-group">
								<label class="control-label">选择达人</label>
								<div class="btn-group">
									<select class="form-control" name="users_id">
										@foreach($da as $d)
											<option value="{{$d->id}}">{{$d->username}}</option>
										@endforeach
									</select>
								</div>
							</div>

						</div>
						<div class="form-actions">
							<input id="back" class="btn btn-primary" type="reset" value="重置" />
							<input id="next" class="btn btn-primary" type="submit" value="提交" />
							<div id="status"></div>
						</div>
						<div id="submitted"></div>
						</form>
					</div>
				</div>
			</div>




@endsection